package com.example.usermanagement.events;

import lombok.Getter;
import org.springframework.boot.context.event.SpringApplicationEvent;
import org.springframework.context.ApplicationEvent;

import java.math.BigDecimal;

/**
 * @author yha
 * @ClassName
 * @description:TODO
 * @date 2024年09月10日
 * @version: 1.0.0
 */
@Getter
public class LiuKaApplicationLogEvent extends ApplicationEvent {

    private BigDecimal flowSize;
    private Long flowUserId;

    public LiuKaApplicationLogEvent(Object source,Long flowUserId,BigDecimal flowSize) {
        super(source);
        this.flowUserId = flowUserId;
        this.flowSize = flowSize;
    }
}
